package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_audit_mdy database table.
 * 
 */
@Entity
@Table(name="per_audit_mdy")
@NamedQuery(name="PerAuditMdy.findAll", query="SELECT p FROM PerAuditMdy p")
public class PerAuditMdy implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int mdyid;

	private int mdymdyid;

	private String mdymdyidname;

	private String mdynr;

	private String mdynrs;

	private Timestamp mdytime;

	//bi-directional many-to-one association to PerAudit
	@ManyToOne
	@JoinColumn(name="AUDITID")
	private PerAudit perAudit;

	//bi-directional many-to-one association to PerAuditTab
	@ManyToOne
	@JoinColumn(name="TABID")
	private PerAuditTab perAuditTab;

	//bi-directional many-to-one association to PerAuditZd
	@ManyToOne
	@JoinColumn(name="ZTID")
	private PerAuditZd perAuditZd;

	public PerAuditMdy() {
	}

	public int getMdyid() {
		return this.mdyid;
	}

	public void setMdyid(int mdyid) {
		this.mdyid = mdyid;
	}

	public int getMdymdyid() {
		return this.mdymdyid;
	}

	public void setMdymdyid(int mdymdyid) {
		this.mdymdyid = mdymdyid;
	}

	public String getMdymdyidname() {
		return this.mdymdyidname;
	}

	public void setMdymdyidname(String mdymdyidname) {
		this.mdymdyidname = mdymdyidname;
	}

	public String getMdynr() {
		return this.mdynr;
	}

	public void setMdynr(String mdynr) {
		this.mdynr = mdynr;
	}

	public String getMdynrs() {
		return this.mdynrs;
	}

	public void setMdynrs(String mdynrs) {
		this.mdynrs = mdynrs;
	}

	public Timestamp getMdytime() {
		return this.mdytime;
	}

	public void setMdytime(Timestamp mdytime) {
		this.mdytime = mdytime;
	}

	public PerAudit getPerAudit() {
		return this.perAudit;
	}

	public void setPerAudit(PerAudit perAudit) {
		this.perAudit = perAudit;
	}

	public PerAuditTab getPerAuditTab() {
		return this.perAuditTab;
	}

	public void setPerAuditTab(PerAuditTab perAuditTab) {
		this.perAuditTab = perAuditTab;
	}

	public PerAuditZd getPerAuditZd() {
		return this.perAuditZd;
	}

	public void setPerAuditZd(PerAuditZd perAuditZd) {
		this.perAuditZd = perAuditZd;
	}

}